/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 注册表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "register form")
public class RegisterForm {
    @ApiModelProperty(value = "email")
    @NotBlank(message="email not null")
    private String email;

    @ApiModelProperty(value = "password")
    @NotBlank(message="password not null")
    private String password;

    @ApiModelProperty(value = "code")
    @NotBlank(message="code not null")
    private String code;

    @ApiModelProperty(value = "name")
    @NotBlank(message="name not null")
    private String name;

    @ApiModelProperty(value = "sender")
//    @NotBlank(message="gender not null")
    private Integer gender;

}
